<?php


namespace App\Logic;


use App\Interfaces\BillerInterface;
use App\Interfaces\BillNotifiterInterface;

class StripeBiller implements BillerInterface
{

    public $notifier;

    /**
     * StripeBiller constructor.
     */
    public function __construct(BillNotifiterInterface $notifier)
    {
        $this->notifier = $notifier;
    }

    public function bill(array $user, $amount)
    {
        // TODO: Implement bill() method.
        $this->notifier->notify($user,$amount);
    }
}